<template>
  <div>
    <div class="tab_wrap">
      <el-table :data="datas.videoList">
        <el-table-column label="视频名称" prop="Vname"></el-table-column>
        <el-table-column label="绑定课程"></el-table-column>
        <el-table-column label="在学人数"></el-table-column>
        <el-table-column label="视频时长" prop="Vtime"></el-table-column>
        <el-table-column label="操作">
          <el-button type="success">编辑</el-button>
          <el-button type="danger">删除</el-button>
        </el-table-column>
      </el-table>
      <el-pagination :total="1000" background></el-pagination>
    </div>
  </div>
</template>

<script lang="ts" setup>
import { getVideo } from './videoHook.ts'
var datas = getVideo()
</script>
<style lang="less">
.tab_wrap {
  width: 80%;
  margin: 0 auto;
}
</style>
